package com.air.ota.mo;

public class DepositTrans {
	
	private Integer id;
	private String  deviceSequence;//设备交易序列号
	private String  sztId;
	private String  cellphone;
	private long    transDate;
	private String  depositSequence;
	private Integer result;
	
	private String  cardAppSequence;
	private String  depositType;
	private String  cardRandom;
	private String  keyIndex;
	private String  ewalletTransSequence;
	private String  ewalletRemain;
	private String  amount;
	private String  terminalCode;
	private String  mac1;
	private String  depositInfoFile;
	private String  lastTransData;
	private String  cardType;
	private String  onlinePayPwd;
	private String  mac2;
	private String  tac;
	private String  cardTransSequence;
	
	
	private String  deviceTriggerTime;
	private String  sztTriggerTime;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getSztId() {
		return sztId;
	}
	public void setSztId(String sztId) {
		this.sztId = sztId;
	}
	public String getCellphone() {
		return cellphone;
	}
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	public long getTransDate() {
		return transDate;
	}
	public void setTransDate(long transDate) {
		this.transDate = transDate;
	}
	public String getDepositSequence() {
		return depositSequence;
	}
	public void setDepositSequence(String depositSequence) {
		this.depositSequence = depositSequence;
	}
	public Integer getResult() {
		return result;
	}
	public void setResult(Integer result) {
		this.result = result;
	}
	public String getCardAppSequence() {
		return cardAppSequence;
	}
	public void setCardAppSequence(String cardAppSequence) {
		this.cardAppSequence = cardAppSequence;
	}
	public String getDepositType() {
		return depositType;
	}
	public void setDepositType(String depositType) {
		this.depositType = depositType;
	}
	public String getCardRandom() {
		return cardRandom;
	}
	public void setCardRandom(String cardRandom) {
		this.cardRandom = cardRandom;
	}
	public String getKeyIndex() {
		return keyIndex;
	}
	public void setKeyIndex(String keyIndex) {
		this.keyIndex = keyIndex;
	}
	public String getEwalletTransSequence() {
		return ewalletTransSequence;
	}
	public void setEwalletTransSequence(String ewalletTransSequence) {
		this.ewalletTransSequence = ewalletTransSequence;
	}
	public String getEwalletRemain() {
		return ewalletRemain;
	}
	public void setEwalletRemain(String ewalletRemain) {
		this.ewalletRemain = ewalletRemain;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public String getTerminalCode() {
		return terminalCode;
	}
	public void setTerminalCode(String terminalCode) {
		this.terminalCode = terminalCode;
	}
	public String getMac1() {
		return mac1;
	}
	public void setMac1(String mac1) {
		this.mac1 = mac1;
	}
	public String getDepositInfoFile() {
		return depositInfoFile;
	}
	public void setDepositInfoFile(String depositInfoFile) {
		this.depositInfoFile = depositInfoFile;
	}
	public String getLastTransData() {
		return lastTransData;
	}
	public void setLastTransData(String lastTransData) {
		this.lastTransData = lastTransData;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public String getOnlinePayPwd() {
		return onlinePayPwd;
	}
	public void setOnlinePayPwd(String onlinePayPwd) {
		this.onlinePayPwd = onlinePayPwd;
	}
	public String getMac2() {
		return mac2;
	}
	public void setMac2(String mac2) {
		this.mac2 = mac2;
	}
	public String getTac() {
		return tac;
	}
	public void setTac(String tac) {
		this.tac = tac;
	}
	public String getCardTransSequence() {
		return cardTransSequence;
	}
	public void setCardTransSequence(String cardTransSequence) {
		this.cardTransSequence = cardTransSequence;
	}
	
	public String getDeviceSequence() {
		int fillLength = 8- Integer.toHexString(this.getId()).length();
		String hexString="";
		for(int i=0;i<fillLength;i++){
			hexString += "0";
		}
		hexString +=Integer.toHexString(this.getId());
		
		return hexString;
	}
	public String getDeviceTriggerTime() {
		return deviceTriggerTime;
	}
	public void setDeviceTriggerTime(String deviceTriggerTime) {
		this.deviceTriggerTime = deviceTriggerTime;
	}
	public String getSztTriggerTime() {
		return sztTriggerTime;
	}
	public void setSztTriggerTime(String sztTriggerTime) {
		this.sztTriggerTime = sztTriggerTime;
	}
	
	
	
	
	
	
}
